package manager.pojo;

import java.sql.Date;

// 用户表数据
public class Users {
    private int user_id;
    private String username;
    private String password;
    private String uname;
    private String tel;
    private String sex;
    private Date bir;

    public Users() {
    }

    // 修正构造函数语法并添加this语句


    public Users(int user_id, String username, String password, String uname, String tel, String sex, Date bir) {
        this.user_id = user_id;
        this.username = username;
        this.password = password;
        this.uname = uname;
        this.tel = tel;
        this.sex = sex;
        this.bir = bir;
    }

    // Getter 方法（保持原有不变）
    public int getUser_id() {
        return user_id;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getUname() {
        return uname;
    }

    public String getTel() {
        return tel;
    }

    public String getSex() {
        return sex;
    }

    public Date getBir() {
        return bir;
    }


}